<html>
<head>
<title>Login</title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>public/css/bootstrap-theme.min.css" >
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>public/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>public/css/style.css">
	<script type="text/javascript" src="<?php echo base_url(); ?>public/css/jquery.min.js"></script>
</head>
</head>
<body >
	<div class="container" >
		<div class="row">		
			<div class="col-md-6 col-md-offset-3">
				<div class="panel panel-default" style="margin-top:150px">
				  <div class="panel-heading">登录</div>
				  <div class="panel-body">
				  	<!--报错-->
						<form action="" method="POST">
						    <div class="form-group">
							    <label>用户名</label>
								<input type="text" class="form-control" name="username" value="<?php echo set_value('username');?>" size="50" />
								<?php echo form_error('username'); ?>
							</div>
							<div class="form-group">
							     <label>密码</label>
								 <input type="password" class="form-control" name="password" value="<?php echo set_value('password');?>" size="50" />
								 <?php echo form_error('password'); ?>
						    </div>	  
						    <button type="submit" class="btn btn-success btn-block">登录</button>
						</form>
				    </div>
				</div>		
			</div>
		</div>
	</div>
</body>
</html>